home *** CD-ROM | disk | FTP | other *** search
- To execute analytic equations enter a FORTRAN-like
- assignment statement consisting of DataScope
- datasets (always referred to by their window
- titles), mathematical operators (+,-,*, and /),
- parentheses to group the variables, constants
- (in a form that would acceptable to FORTRAN,
- like e-format or integer), and DataScope
- functions.
- For example, suppose MYDATA is a dataset. Then
- executing the equation
- NEW = 3.2 * (sin(MYDATA) + 1.e-3) + 15
- will create a new dataset, where the elements
- have the values
- new(i,j) = 3.2 * (sin(mydata(i,j)) + 1.e-3) + 15
- for every pair (i,j) in the data. It is important to
- remember that operations on 2D arrays are on an
- element-by-element basis, and are not matrix
- operations (though users are free to write such
- matrix operations into subroutines that can be
- called via DataScope's external library feature).
-